import request from '@/utils/request'

// 查询投后事项列表
export function listDealAfterMatter(query) {
  return request({
    url: '/matter/dealAfterMatter/list',
    method: 'get',
    params: query
  })
}

// 查询投后事项详细
export function getDealAfterMatter(id) {
  return request({
    url: '/matter/dealAfterMatter/' + id,
    method: 'get'
  })
}

// 保存投后事项
export function saveDealAfterMatter(data) {
  return request({
    url: '/matter/dealAfterMatter/save',
    method: 'post',
    data: data
  })
}

// 删除投后事项
export function delDealAfterMatter(id) {
  return request({
    url: '/matter/dealAfterMatter/' + id,
    method: 'delete'
  })
}

// 导出投后事项
export function exportDealAfterMatter(query) {
  return request({
    url: '/matter/dealAfterMatter/export',
    method: 'get',
    params: query
  })
}
